package com.gite.nouette.admin.implementation.integrator.assembler.module;

import com.gite.nouette.admin.contract.integrator.assembler.module.IAssemblerModuleLog;
import com.gite.nouette.admin.contract.integrator.director.module.IDirectorModuleLog;
import com.gite.nouette.admin.contract.integrator.factory.IFactoryModel;
import com.gite.nouette.admin.contract.model.IManager;
import com.gite.nouette.admin.contract.model.command.ICommandCreateModule;
import com.gite.nouette.admin.implementation.integrator.assembler.AbstractAssemblerModule;
import com.gite.nouette.admin.implementation.integrator.builder.module.BuilderModuleLogImpl;
import com.gite.nouette.admin.implementation.integrator.director.module.DirectorModuleLogImpl;

public class AssemblerModuleLogImpl extends AbstractAssemblerModule implements
		IAssemblerModuleLog {
	private IDirectorModuleLog director;

	public AssemblerModuleLogImpl(IFactoryModel factoryModel, IManager manager,
			ICommandCreateModule commandCreateModule) {
		setDirector(new DirectorModuleLogImpl());
		getDirector().setBuilder(
				new BuilderModuleLogImpl(factoryModel, manager,
						commandCreateModule));
	}

	@Override
	public IDirectorModuleLog getDirector() {
		return this.director;
	}

	@Override
	public void setDirector(IDirectorModuleLog director) {
		this.director = director;
	}

}
